package com.lc.fbtp.draftmsg.api.paper.ccm.ccm008;

import com.lc.fbtp.draftmsg.api.paper.MainBody;
import com.lc.fbtp.draftmsg.api.paper.MsgId;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 自由格式信息报文
 * @author yeyun20029
 *
 */
public class CCM008 extends MainBody {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 6281673280785193810L;

	/**
	 * 报文标识
	 */
	@XStreamAlias("MsgId")
	private MsgId MsgId;
	
	/**
	 * 发起方
	 */
	@XStreamAlias("Sndr")
	private Sndr Sndr;
	
	/**
	 * 接收方
	 */
	@XStreamAlias("Rcvr")
	private Rcvr Rcvr;
	
	/**
	 * 报文内容
	 */
	@XStreamAlias("MsgCnts")
	private MsgCnts MsgCnts;

	public MsgId getMsgId() {
		return MsgId;
	}

	public void setMsgId(MsgId msgId) {
		MsgId = msgId;
	}

	public Sndr getSndr() {
		return Sndr;
	}

	public void setSndr(Sndr sndr) {
		Sndr = sndr;
	}

	public Rcvr getRcvr() {
		return Rcvr;
	}

	public void setRcvr(Rcvr rcvr) {
		Rcvr = rcvr;
	}

	public MsgCnts getMsgCnts() {
		return MsgCnts;
	}

	public void setMsgCnts(MsgCnts msgCnts) {
		MsgCnts = msgCnts;
	}

	@Override
	public String getId() {
		return MsgId.getId();
	}

	@Override
	public String getDtTm() {
		return MsgId.getCreDtTm();
	}

	@Override
	public String getOrgnlId() {
		return null;
	}
	
}
